﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template/Detail.master" AutoEventWireup="true"
    CodeBehind="T2Detail.aspx.cs" Inherits="MaluJg.web.Three.T2Detail" %>

<%@ Register Src="~/Control/TabberHeader.ascx" TagName="TabberHeader" TagPrefix="wsc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script>
        function refreshParent() {
            window.parent.document.getElementById('ctl00$ListToolBarPlaceHolder$btnRefresh').click();
        }

        function openEdit() {
            var width = 820;
            var height = 640;
            window.open("T2Edit.aspx?ID=<%=EventID %>&NoCache=" + Math.random(), "newwindow", 'width=' + width + ',height=' + height + ',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,left=' + (screen.width - width) / 2 + ',top=' + (screen.height - height) / 2);
        }
        function ChangeDetailView2() {
            var height = document.body.clientHeight;
            var infoDetail = document.getElementById("trInfo2");
            if (infoDetail.style.display == 'none') {
                document.getElementById("imgExpand2").src = "../Images/Icon/icon-collapse.png";
                infoDetail.style.display = '';
            }
            else {
                document.getElementById("imgExpand2").src = "../Images/Icon/icon-expand.png";
                infoDetail.style.display = 'none';
            }
            PageResize();
        }
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ListToolBarPlaceHolder" runat="server">
    <table cellspacing="2" cellpadding="0" border="0" id="tblOperator" runat="server">
        <tr>
            <td class="ToolMenu" width="60" id="tdEdit" runat="server">
                <div class="Normal" oldclass="Normal" onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)"
                    onclick="openEdit();">
                    <span>
                        <img src="../Images/Icon/object/Dataset-edit.gif" /></span><span>编辑</span>
                </div>
            </td>
            <td class="Fg" id="tdEditFg" runat="server">
                <img src="../Images/FgLine.gif" alt="" />
            </td>
            <td class="ToolMenu" width="60" id="tdDelete" runat="server">
                <div class="Normal" oldclass="Normal" onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)">
                    <asp:LinkButton runat="server" ID="lbtnDelete" OnClick="lbtnDelete_Click" OnClientClick="return window.confirm('确认删除?');">
                        <span><img src="../Images/Icon/ACTION/delete.gif" /></span><span>删除</span>
                    </asp:LinkButton>
                </div>
            </td>
            <td class="Fg" id="td2" runat="server">
                <img src="../Images/FgLine.gif" alt="" />
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="TitleContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="InfoContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="TextContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="TabberContentPlaceHolder" runat="server">
    <wsc:TabberHeader ID="thInfo" runat="server" DivID="div1" Title="基本信息" Selected="true" />
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="Div1ContentPlaceHolder" runat="server">
  
    <table cellspacing="0" cellpadding="0" border="0">
        <tr>
            <td class="DetailHeader">
                <table cellspacing="0" cellpadding="0" border="0" width="100%">
                    <tr>
                        <td class="ArticleTitle">
                            <asp:Literal ID="ltTitle2" runat="server" Visible="false"></asp:Literal>
                        </td>
                        <td width="14">
                            <a href="#">
                                <img src="../Images/Icon/icon-collapse.png" alt="字段" style="cursor: pointer;" onclick="ChangeDetailView2();"
                                    id="imgExpand2" /></a>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr id="trInfo2">
            <td>
          
                <table id="commandTable" border="0" cellspacing="0" cellpadding="0" class="FormTable tablefix"
                    width="100%">
                    <tr>
                        <td class="DetailTitle">
                            <div class="fixWidth2">
                                <a class="blue-01"><strong>备案单位：</strong></a>
                                <asp:Literal ID="lbDept" runat="server"></asp:Literal></div>
                        </td>
                    </tr>
                   
                    <tr>
                        <td class="DetailTitle">
                            <div class="fixWidth2">
                                <a class="blue-01"><strong>领导签名：</strong></a>
                                <asp:Literal ID="lbSign" runat="server"></asp:Literal></div>
                        </td>
                    </tr>
                    <tr>
                        <td class="DetailTitle">
                            <div class="fixWidth2">
                                <a class="blue-01"><strong>填表日期：</strong></a>
                                <asp:Literal ID="lbDate" runat="server"></asp:Literal></div>
                        </td>
                    </tr>
                     <tr>
                        <td>
                        <div style="width:100%;overflow-x:auto;height:500px;" id="divV">
                            <table border="1" cellspacing="0" width="100%" class="MainInfolist" cellpadding="0" id="tbl" style="border-collapse: collapse;">
                                <tr height="50">
                                    <td width="34" rowspan="2" valign="middle" align="center">
                                        <p>序号</p>
                                    </td>
                                    <td rowspan="2" valign="middle" align="center">
                                        事项名称
                                    </td>
                                    <td width="80" colspan="4" align="center">
                                        事项性质
                                    </td>
                                    <td width="90" rowspan="2" align="center">
                                        决策时间
                                    </td>
                                    <td width="40" colspan="2" align="center">
                                        <p>讨论情况</p>
                                    </td>
                                    <td width="100" colspan="4" align="center">
                                        执行情况
                                    </td>
                                    <td width="100" rowspan="2" align="center">
                                        备注
                                    </td>
                                </tr>
                                <tr height="100" id="tr2">
                                    <td width="20" align="center">
                                        <p>重大决策</p>
                                    </td>
                                    <td width="20" align="center">
                                        <p>重要人事调整</p>
                                    </td>
                                    <td width="20" align="center">
                                        <p>重大项目安排</p>
                                    </td>
                                    <td width="20" align="center">
                                        <p>大额资金使用</p>
                                    </td>
                                    <td width="20" align="center">
                                        <p>一致通过</p>
                                    </td>
                                    <td width="20" align="center">
                                        <p>少数服从多数</p>
                                    </td>
                                    <td width="20" align="center">
                                        <p>已执行</p>
                                    </td>
                                    <td width="20" align="center">
                                        <p>执行中</p>
                                    </td>
                                    <td width="20" align="center">
                                        <p>未执行</p>
                                    </td>
                                    <td width="40" align="center">
                                        <p>变更决策</p>
                                    </td>
                                </tr>
                                <asp:Repeater runat="server" ID="rpInstance">
                                    <ItemTemplate>
                                        <tr>
                                            <td align="center">
                                                <%#Container.ItemIndex+1 %>
                                            </td>
                                            <td align="center">
                                                <%#Eval("Name") %>
                                            </td>
                                            <td align="center">
                                            <%#Eval("IsMost").ToString() == "True" ? "是" : "否"%>
                                               
                                            </td>
                                            <td align="center">
                                                <%#Eval("IsHRChange").ToString() == "True" ? "是" : "否"%>
                                            </td>
                                            <td align="center">
                                                <%#Eval("IsArrage").ToString() == "True" ? "是" : "否"%>
                                            </td>
                                            <td align="center">
                                                <%#Eval("IsMoneyUse").ToString() == "True" ? "是" : "否"%>
                                            </td>
                                            <td align="center">
                                                <%#Eval("MakeTime")%>
                                            </td>
                                            <td align="center">
                                                <%#Eval("IsAllPass").ToString() == "True" ? "是" : "否"%>
                                            </td>
                                            <td align="center">
                                                <%#Eval("IsMinorOBeyMajor").ToString() == "True" ? "是" : "否"%>
                                            </td>
                                            <td align="center">
                                                <%#Eval("IsDone").ToString() == "True" ? "是" : "否"%>
                                            </td>
                                            <td align="center">
                                                <%#Eval("IsIng").ToString() == "True" ? "是" : "否"%>
                                            </td>
                                            <td align="center">
                                                <%#Eval("IsUnDo").ToString() == "True" ? "是" : "否"%>
                                            </td>
                                            <td align="center">
                                                <%#Eval("Change")%>
                                            </td>
                                            <td align="center">
                                                <%#Eval("Remark")%>
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </table></div>
                           
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table> 
</asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderID="Div2ContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content9" ContentPlaceHolderID="Div3ContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content10" ContentPlaceHolderID="Div4ContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content11" ContentPlaceHolderID="Div5ContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content12" ContentPlaceHolderID="TabberJSContentPlaceHolder" runat="server">
</asp:Content>
